package com.link2room.aeriabots.dto.param.base;

import com.link2room.aeriabots.dto.callBack.WxPayInfoDto;
import com.link2room.common.dto.param.base.BaseL2rParamDto;

import java.math.BigDecimal;

/**
 * Created by LN on 2017/3/20.
 */
public class L2RPayParamDto extends BaseL2rParamDto {

    private String payChannel;

    /**
     * 商品名称
     */
    private String goodsName;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 总价
     */
    private BigDecimal totalFee;
    /**
     * 终端IP
     */
    private String spBillCreateIP;
    /**
     * 通知地址服务
     */
    private String l2rNotifyService;
    /**
     * 交易类型 （用于微信）
     */
    private String tradeType;
    /**
     * 预付款单号
     */
    private String prepayId;

    private WxPayInfoDto wxPayInfo;

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getL2rNotifyService() {
        return l2rNotifyService;
    }

    public void setL2rNotifyService(String l2rNotifyService) {
        this.l2rNotifyService = l2rNotifyService;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPrepayId() {
        return prepayId;
    }

    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }

    public String getSpBillCreateIP() {
        return spBillCreateIP;
    }

    public void setSpBillCreateIP(String spBillCreateIP) {
        this.spBillCreateIP = spBillCreateIP;
    }

    public BigDecimal getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public WxPayInfoDto getWxPayInfo() {
        return wxPayInfo;
    }

    public void setWxPayInfo(WxPayInfoDto wxPayInfo) {
        this.wxPayInfo = wxPayInfo;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    @Override
    public String toString() {
        return "L2RPayParamDto{" +
                "payChannel='" + payChannel + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", totalFee=" + totalFee +
                ", spBillCreateIP='" + spBillCreateIP + '\'' +
                ", l2rNotifyService='" + l2rNotifyService + '\'' +
                ", tradeType='" + tradeType + '\'' +
                ", prepayId='" + prepayId + '\'' +
                ", wxPayInfo=" + wxPayInfo +
                "} " + super.toString();
    }
}
